package cn.bdqn.dao;

import cn.bdqn.pojo.Role;
import cn.bdqn.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface UserMapper {
    User   findUser(User user);
    void  modifyUserPwd(@Param("userId") Integer userId, @Param("password") String password);
    List<User> findUserByPage(@Param("userName") String userName,@Param("roleId") Integer roleId);
    List<User> RoleName();
}
